Remove clj-kondo warning that := is an unused value#77
Open
vedang wants to merge 1 commit intohyperfiddle:masterfrom
Open
Remove clj-kondo warning that := is an unused value#77vedang wants to merge 1 commit intohyperfiddle:masterfrom
vedang wants to merge 1 commit intohyperfiddle:masterfrom
Conversation
`clj-kondo` does not understand that `:=` is special in `rcf/tests`. This commit adds a `clj-kondo.exports` folder as explained in their documentation. Users can use this to import the config in their projects and remove the warning. References: 1. Exporting and importing clj-kondo configuration: https://github.com/clj-kondo/clj-kondo/blob/74be7d29696c08e188d10c64b045403b21302a0b/doc/config.md?plain=1#L524 2. An explanation of the `:config-in-call` option: https://github.com/clj-kondo/clj-kondo/blob/74be7d29696c08e188d10c64b045403b21302a0b/doc/config.md#config-in-call 3. An explanation of the `:unused-value` warning that we see: https://github.com/clj-kondo/clj-kondo/blob/74be7d29696c08e188d10c64b045403b21302a0b/doc/linters.md#unused-value
Member
6ceb253 to
5d81fde
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
clj-kondodoes not understand that:=is special inrcf/tests. This commit adds aclj-kondo.exportsfolder as explained in their documentation. Users can use this to import the config in their projects and remove the warning.References:
:config-in-calloption: https://github.com/clj-kondo/clj-kondo/blob/74be7d29696c08e188d10c64b045403b21302a0b/doc/config.md#config-in-call:unused-valuewarning that we see: https://github.com/clj-kondo/clj-kondo/blob/74be7d29696c08e188d10c64b045403b21302a0b/doc/linters.md#unused-value